<div class="box">
  <div class="box-header">
      
    <div class="row">
        
        <div class="col-sm-8">
            <div class="box-tools search-form pull-right">
                <div class="input-group input-group-sm">
                    
                    <input type="text" name="search_data" style="width: 200px;" class="form-control pull-right" value="{:input('search_data')}" placeholder="支持标题|描述">

                    <div class="input-group-btn">
                      <button type="button" id="search"  url="{:url('articlelist')}" class="btn btn-info btn-flat"><i class="fa fa-search"></i></button>
                    </div>

                </div>
           </div>
        </div>
    </div>

  </div>
  <div class="box-body table-responsive">
    <table  class="table table-bordered table-hover">
      <thead>
      <tr>
          <th class="checkbox-select-all">
              <label>
                <input class="flat-grey js-checkbox-all" type="checkbox">
              </label>
          </th>
          <th>标题</th>
          <th>分类</th>
          <th>封面</th>
          <th>发布会员</th>
          <th>发布时间</th>
      </tr>
      </thead>

      <form action="{:url('publicArticle')}" method="post" class="form_single">
          {notempty name='list'}
            <tbody>
                {volist name='list' id='vo'}
                    <tr>
                      <td>
                        <label>
                            <input class="flat-grey" type="checkbox" name="ids" value="{$vo.id}">
                        </label>
                      </td>
                      <td>{$vo.name}</td>
                      <td>{$vo.category_name}</td>
                      <td>
                          <img class="admin-list-img-size" src="{$vo.cover_id|get_picture_url}"/>
                      </td>
                      <td>{$vo.nickname}</td>
                      <td>{$vo.create_time}</td>
                    </tr>
                {/volist}
            </tbody>
            {else/}
            <tbody><tr class="odd"><td colspan="8" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
          {/notempty}

          {notempty name='life_account_ids'}
            {volist name='life_account_ids' id='vo'}
                <input type="hidden" name="lifeAccountIds" value="{$vo|default='0'}"/>
            {/volist}
          {/notempty}

          <button  type="submit" class="btn ladda-button post" data-style="slide-up" target-form="form_single">
              <span class="ladda-label"><i class="fa fa-send"></i> 确 定</span>
          </button>
      </form>
    </table>
  </div>
  <div class="box-footer clearfix text-center">
      {$list->render()}
  </div>
</div>